/*
 * board_config.h
 *
 *  Created on: Jan 9, 2017
 *      Author: duobao
 */

#ifndef BOARD_CONFIG_H_
#define BOARD_CONFIG_H_

/*
 * GPIO0  -> IRCUT_ON
 * GPIO1  -> IRCUT_OFF
 * GPIO2  -> USB_PWREN
 * GPIO11 -> EMAC PHY Reset
 * GPIO12 -> CIS_CLK
 * GPIO13 -> CIS_RSTN
 * GPIO14 -> CIS_PDN
 * GPIO19 -> SD1_PWREN/WIFI_REG_ON
 * GPIO20 -> AK7755 Reset
 * GPIO24 -> LED0
 * GPIO25 -> LED1
 * GPIO26 -> Reset Configs
 * GPIO27 -> AK7755 PowerDown
 * GPIO28 -> IR
 * GPIO53 -> USB_PWREN/SD0_PWREN
 * GPIO55 -> SD1 WIFI Interrupt
 */

#define CONFIG_GPIO_EMACPHY_RESET	4
#define CONFIG_GPIO_EMACPHY_RXDV	54

#define CONFIG_GPIO_USB_PWREN	47

#define CONFIG_HEVC_CLK_RATE  240000000
#define CONFIG_PAE_CLK_RATE   400000000

#define USB_VBUS_PWR_GPIO    (47)

#define CONFIG_PINCTRL_SELECT						\
	"I2C0", "I2C1", "I2C3", "MIPI0", "MIPI1", "PWM0", \
	"PWM1", "PWM2", "PWM3", "RGMII", "SADC_IN0", "SADC_IN1", \
	"SADC_IN2", "SD0_NO_WP", "SD1_NO_WP", "SENSOR0_CLK", \
	"SENSOR1_CLK", "SPI0_4BIT", "SPI1", "UART0", "UART1", \
	"UART2", "GPIO0", "GPIO1", "GPIO2", "GPIO3", "GPIO4", \
	"GPIO13", "GPIO25", "GPIO28", "GPIO29", "GPIO30", \
	"GPIO31", "GPIO32", "GPIO47", "GPIO66", "GPIO67", \
	"GPIO68", "GPIO69", "GPIO71", "GPIO72", "GPIO73"


#endif /* BOARD_CONFIG_H_ */
